import BarChart from "./components/BarChart"
const Home = () => {
    return (
        <div style={{display: 'flex',}}>
            <BarChart
                title={"前端框架使用量"}
                xData={['Vue', 'React', 'Angular']}
                sData={[2000, 5000, 1000]} 
                style={{ width: '500px', height: '400px' }}/>

            <BarChart
                title={"前端框架下载量"}
                xData={['Vue', 'React', 'Angular']}
                sData={[200, 500, 100]}
                style={{ width: '500px', height: '400px' }} />
        </div >
    )
}
export default Home